import Vue from 'vue'
import VueRouter from 'vue-router'
import huanying from "@/views/huanying.vue";
import login from "@/views/login/login.vue";
import travel from "@/views/lx/travel.vue";
import zhuce from "@/views/login/zhuce.vue";
import homePage from "@/views/page/homePage.vue";
import Search from "@/views/page/Search.vue";
import Wo from "@/views/My/Wo.vue";
import wan from "@/views/My/wan.vue";
import abc from "@/views/jdmap/abc.vue";
import juidianmap from "@/views/jdmap/juidianmap.vue";
import HotelRoomList from "@/views/page/HotelRoomList.vue";



Vue.use(VueRouter)

const routes = [
  {
    path: '/',
    name: 'huanying',
    component: huanying
  },
  {
    path: '/HotelRoomList',
    name: 'HotelRoomList',
    component: HotelRoomList
  },
  {
    path: '/abc',
    name: 'abc',
    component: abc
  },
  {
    path: '/wan',
    name: 'wan',
    component: wan
  },
  {
    path: '/wo',
    name: 'wo',
    component: Wo
  },
  {
    path: '/map',
    name: 'juidianmap',
    component: juidianmap
  },

    {
    path: '/login',
    name: 'login',
    component: login
  }, {
        path: '/travel',
        name: 'travel',
        component: travel
  },
  {
    path: '/zhuce',
    name: 'zhuce',
    component: zhuce
  },
{
    path: '/homePage',
    name: 'homePage',
    component: homePage
  },
  {
    path: '/Search',
    name: 'Search',
    component: Search
  },

  {
    path: '/about',
    name: 'about',
    // route level code-splitting
    // this generates a separate chunk (about.[hash].js) for this route
    // which is lazy-loaded when the route is visited.

  },
    {
    path: '/Wo',
    name: 'Wo',
    component: Wo
  },
]

const router = new VueRouter({
  routes
})

export default router
